
* {
  padding: 0;
  margin: 0;
}

input:focus-visible, select:focus-visible {
  outline: rgb(181, 132, 228) auto 1px;
}

table {
  border-collapse: collapse;
  border: 2px solid rgb(200, 200, 200);
  letter-spacing: 1px;
  font-family: sans-serif;
  font-size: 0.8rem;
  width: 100%;
  text-wrap: nowrap;
}

table td.operations {
  min-width: 180px;
}

table td.operations button {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 2px 6px;
  letter-spacing: 1px;
  cursor: pointer;
}

td,
th {
  border: 1px solid rgb(190, 190, 190);
  padding: 5px 10px;
}

td {
  text-align: center;
}

input {
  padding: 2px 8px;
  line-height: 24px;
  border: 1px solid #ccc;
}

.container {
  padding: 20px;
}

.operContainer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.createBtn {
  background-color: #409eff;
  border-radius: 5px;
  border: none;
  color: #fff;
  padding: 5px 10px;
  font-size: 1rem;
  vertical-align: middle;
  cursor: pointer;
  letter-spacing: 1px;
}

.deleteBtn {
  background-color: #F56c6c;
  color: #fff;
}

.searchBtn {
  background-color: #409eff;
  border-radius: 5px;
  border: none;
  color: #fff;
  padding: 5px 10px;
  font-size: 1rem;
  vertical-align: bottom;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.searchBtn:active{
  background-color: #80bffc;
}

.btn,
.closeBtn,
.pagination button {
  padding: 2px 8px;
  font-size: 1rem;
  vertical-align: middle;
  cursor: pointer;
  letter-spacing: 1px;
}

.closeBtn {
  position: absolute;
  right: 0;
  border: none;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 10px;
  background: none;
  transition: all 0.3s;
  padding: 5px 10px;
}
.closeBtn:hover {
  background-color: #ec4949;
  color: #fff;
}
.closeBtn:active {
  background-color: #ff6c6cd7;
}

.pagination {
  margin-top: 20px;
  padding-right: 20px;
  width: calc(100% - 20px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.disabled {
  cursor: not-allowed !important;
}

.mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: all .5s;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  width: 80vmin;
  height: 60vmin;
  border: 1px solid #ccc;
  z-index: 10000;
  border-radius: 10px;
  transition: all .5s;
}

.popupBox {
  width: 100%;
  height: 100%;
}

.popupHead {
  padding: 20px 10px;
  letter-spacing: 1px;
}

.popupContent {
  padding: 20px 24px;
  height: 60%;
  letter-spacing: 1px;
}

.gridBox {
  display: grid;
  grid-template-columns: 20% 50%;
  row-gap: 16px;
  grid-template-rows: auto;
}

.gridBox > div {
  display: flex;
  align-items: center;
}

.gridBox tr td input,
.gridBox select {
  width: 100%;
  border: 1px solid #ccc;
}

.gridBox input[type='file'] {
  border: none;
}
.gridBox select {
  padding: 2px 5px;
  line-height: 22px;
  height: 26px;
}

.btnRow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 20px;
}

.save,
.cancel {
  padding: 5px 10px;
  letter-spacing: 1px;
  cursor: pointer;
}

a {
  cursor: pointer;
}

